<?php 

	$category_name = $this->formText('category_name', $this->Item['category_name'], array('class'=>'txtmedium'));
	$options       = array('Nước Ngoài','Trong Nước');
	$type          = $this->formRadio('type',$this->Item['type'],null,$options, ' ');
	$options       = array('Inactive','Active');
	$status        = $this->formRadio('status',$this->Item['status'],null,$options, "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp");
	
	$order         = $this->formText('order',$this->Item['order'],array('class'=>'txtshort'));
	
	// select box
	$options       = $this->options;
	$subMenu       = $this->mySelectBOx('menu', $this->Item['menu'][0]['id'], $options);
	
	// form errors
	if(count($this->messageError)>0){
		$errors = $this->formErrors($this->messageError,array('id'=>'errors'));
	}
?>
<form name="appForm" method="post" action="">



                        <?php echo $this->render('admin-tour-category/toolbar/index.php')?>
                        <div class="clr"></div>
                         <?php echo $this->render('admin-tour-category/sublink/index.php')?>
                         <?php echo $errors?>
                        <!-- BEGIN: CONTENT -->
                        <div id="element-box">
                            <div class="t">
                                <div class="t">
                                    <div class="t"></div>
                                </div>
                            </div>
                            <div class="m">
                                <!-- BEGIN: ELEMENT BOX -->
						<div id="adminfieldset">
                             <div class="adminheader">Detail</div>
								
								<div id="row">
                                    <div class="label">Category name:</div>
                                    <?php echo $category_name;?>			
                                </div>
                                <div class="clr"></div>
                                
                                <div id="row">
                                    <div class="label">Type:</div>
                                    <?php echo $type;?>			
                                </div>
                                <div class="clr"></div>
                                                      
                                <div id="row">
                                    <div class="label">Status:</div>
                                    <?php echo $status;?>			
                                </div>
                                <div class="clr"></div>
                                
                                 <div id="row">
                                    <div class="label">Ordering:</div>
                                    <?php echo $order;?>			
                                </div>
                                <div class="clr"></div>
                                
                                <div id="row">
                                    <div class="label">Menu:</div>
                                    <?php echo $subMenu;?>			
                                </div>
                                <div class="clr"></div>
                                
							</div>
							
                                <!-- END: ELEMENT BOX -->	
                              <div class="clr"></div>
                            </div>
                            <div class="b">
                                <div class="b">
                                    <div class="b"></div>
                                </div>
                            </div>
                        </div>
                        <!-- END: 	CONTENT -->
                    </form>